package com.wxy.email;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Author Administrator
 * @Description TODO
 * @Date 2021/3/2 12:08
 * @Version 1.0
 * @desc
 */
@Data
@Component
public class EmailConfig {
    /**
     * 发件人
     */
    @Value("${spring.mail.username}")
    private String emailFrom;
}
